package com.netjava.dao;

import java.util.List;

import com.netjava.pojo.Delivery;

public interface IDeliveryDAO {
	public void save(Delivery delivery);
	public void delete(Delivery delivery);
	public Delivery findById(java.lang.Integer id);
	public List<Delivery> findByAddress(Object address);
	public List<Delivery> findByReceiverName(Object receiverName);
	public List<Delivery> findByPhone(Object phone);
	public List<Delivery> findByPostage(Object postage);
	public List<Delivery> findByDeliverTime(Object payTime);
	public List<Delivery> findByDeliverState(Object deliverState);
	public void attachDirty(Delivery instance);
}
